package com.solution.admin.point.dao;

import java.util.List;
import java.util.Map;

import com.solution.admin.point.entity.SignPointSettingsEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 签到积分设置信息DAO接口
 * @author xu_cc
 * @date 2017-10-20 14:18:43
 */
public interface SignPointSettingsDao extends BaseDao<SignPointSettingsEntity> {
    
    /**
     * 保存签到积分设置信息
     * @param signPointSettingsEntity
     * @return
     * @author xu_cc
     * @date 2017-10-20 14:18:43
     */
    public long saveSignPointSettings(SignPointSettingsEntity signPointSettingsEntity);

    /**
     * 分页查询签到积分设置信息信息
     * @param pageParam 分页对象
     * @param signPointSettings 分页参数
     * @return PageBean 分页参数及数据
     * @author xu_cc
     * @date 2017-10-20 14:18:43
     */
    public PageBean listSignPointSettingsPage(PageParam pageParam, Map<String, Object> param);

    /**
     * 更新签到积分设置信息
     * @param signPointSettingsEntity
     * @return
     * @author xu_cc
     * @date 2017-10-20 14:18:43
     */
    public int updateSignPointSettings(SignPointSettingsEntity signPointSettingsEntity);


    /**
     * 删除签到积分设置信息
     * @param id
     * @return
     * @author xu_cc
     * @date 2017-10-20 14:18:43
     */
    public int deleteSignPointSettingsById(Long id);
    
    /**
     * 根据签到积分设置信息类型获取签到积分设置信息
     * @param param
     * @return
     * @author xu_cc
     * @date 2017-10-20 14:18:43
     */
    public List<SignPointSettingsEntity> listSignPointSettings( Map<String, Object> param);
}
